
package com.chengyu.eyc.mapper;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import com.chengyu.eyc.base.BaseMapper;
import com.chengyu.eyc.model.EycOrder;

public interface EycOrderMapper extends BaseMapper<EycOrder> {


    /**
     * @param params
     * @return
     */
    Integer searchCountOrders(Map<String, Object> params);
    
    List<Map<String,Object>> searchOrders(Map<String, Object> params);

    /**
     * @param userId
     * @return
     */
    BigDecimal sumOrderPreferentialAmountByUserId(String userId);
    
    BigDecimal sumOrderPayAmountByUserId(String userId);
    
    int searchAppointedDayPickupCarNum(String appointmentDt);

}